home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
tool6v12
/
demovga.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-07-01
|
906b
|
37 lines
Program DemoVGA256;
{ Purpose....... Demonstrates the use of the following units: vga256
Comments...... None
Author........ Thayne Breetzke
Date.......... 22 March 1994 }
Uses
Crt,
Screen,
Strings,
Cursor,
Windows,
Vga256;
Var
Key : Char;
Extended : Boolean;
Pal : PaletteType;
Begin
TextAttr := 7;
CursorOff;
GetPalette(Pal);
FadeOut(0,0,0,0);
ClearArea(1,1,80,25,7,'▒');
DrawBox(4,2,77,4,'','',DoubleFrame,15+1*16,14+1*16,True);
WriteMem(5,3,Center('The "Complete" Borland Turbo Pascal 6.0 Toolbox',72));
DrawBox(16,13,65,17,'',' Press any key to continue ',SingleFrame,15+7*16,15+7*16,True);
WriteWinXY(28,15,'Demonstrating fade routines',0+7*16);
FadeIn(Pal,10);
Repeat until KeyPressed;
FadeOut(0,0,0,10);
ClrScr;
SetPalette(Pal);
CursorOn(False)
end.